import Http from '@/http'

export function nearApi(lng:number, lat:number, distance:number) {
    return Http.post('chargingStation/near', {lng, lat, distance})
}

export function stationApi(id){
    return Http.get('chargingStation/station/' + id)
}